package com.yuyou.fn.tms.vo;

import com.yuyou.fn.platform.entity.Province;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * Created by lzh on 2019/1/24.
 */
public class TmsProvince {

    @ApiModelProperty("省份id")
    private Long proId ;//省份id

    @ApiModelProperty("省份名称")
    private String proName ;//省份名称

    @ApiModelProperty("创建时间")
    private Date proCreateTime ;//创建时间

    @ApiModelProperty("更新时间")
    private Date proModifyTime ;//更新时间

    @ApiModelProperty("状态(0正常,1停用)")
    private Integer status ;//状态(0正常,1停用)

    @ApiModelProperty("是否删除(0正常，1删除)")
    private Integer isDelete ;//是否删除(0正常，1删除)

    public TmsProvince(Province province){
        this.setProId(province.getProvinceId());//省份id
        this.setProName(province.getProvinceName());//省份名称
        this.setProCreateTime(province.getCreateTime());//创建时间
        this.setProModifyTime(province.getUpdateTime());//更新时间
        this.setStatus(province.getStatus());//状态(0正常,1停用)
        this.setIsDelete(0);//是否删除(0正常，1删除)
    }

    public Long getProId() {
        return proId;
    }

    public void setProId(Long proId) {
        this.proId = proId;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public Date getProCreateTime() {
        return proCreateTime;
    }

    public void setProCreateTime(Date proCreateTime) {
        this.proCreateTime = proCreateTime;
    }

    public Date getProModifyTime() {
        return proModifyTime;
    }

    public void setProModifyTime(Date proModifyTime) {
        this.proModifyTime = proModifyTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }
}
